package guoanmaker.operator.business.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import guoanmaker.operator.business.model.ProvideCity;

public interface ProvideCityRepository extends JpaRepository<ProvideCity, String>, JpaSpecificationExecutor<ProvideCity>  {
	
	
	@Query("select u from ProvideCity u where u.code=:code")
    public List<ProvideCity> findByCode(@Param("code") String code);

}
